<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>SerialPortTimeouts</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SerialPortTimeouts()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>SerialPortTimeouts</b></font>(#SerialPort, RIT, RTTC, RTTM, WTTC, WTTM)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Changes the default serial port timeouts. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#SerialPort</i></td>
<td width="90%"> 
 
The serial port to use. 

 

</td></tr>
<tr><td><i>RIT</i></td>
<td> 
 
RIT stands for 'ReadIntervalTimeout'. Specifies the maximum time, in milliseconds, which are allowed to elapse 
between the arrival of two characters on the communications line. Default value is 100 ms. 

 

</td></tr>
<tr><td><i>RTTC</i></td>
<td> 
 
RTTC stands for 'ReadTotalTimeoutConstant'. Specifies the constant, in milliseconds, used to calculate the 
total time-out period for read operations. For each read operation, this value is added to the 
product of the ReadTotalTimeoutMultiplier member and the requested number of bytes. Default value is 100 ms. 

 

</td></tr>
<tr><td><i>RTTM</i></td>
<td> 
 
RTTM stands for 'ReadTotalTimeoutMultiplier'. Specifies the multiplier, in milliseconds, used to calculate 
the total time-out period for read operations. For each read operation, this value is multiplied 
by the requested number of bytes to be read. Default value is 10 ms. 

 

</td></tr>
<tr><td><i>WTTC</i></td>
<td> 
 
WTTC stands for 'WriteTotalTimeoutConstant'. Specifies the constant, in milliseconds, used to calculate the 
total time-out period for write operations. For each write operation, this value is added to the 
product of the WriteTotalTimeoutMultiplier member and the number of bytes to be written. Default value is 10 ms. 

 

</td></tr>
<tr><td><i>WTTM</i></td>
<td> 
 
WTTM stands for 'WriteTotalTimeoutMultiplier'. Specifies the multiplier, in milliseconds, used to calculate the 
total time-out period for write operations. For each write operation, this value is multiplied by 
the number of bytes to be written. Default value is 100 ms. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

None.





</blockquote><p><b>See Also</b></p><blockquote>

<a href="openserialport.html">OpenSerialPort()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=serialportid.html>SerialPortID()</a> - <a href=index.html>SerialPort Index</a> - <a href=setserialportstatus.html>SetSerialPortStatus()</a> -&gt;



</body></html>